package com.jic.interaction.JDVOP.model.vo.response;

import cn.hutool.json.JSON;
import com.jic.interaction.JDVOP.model.entity.JsonNo;
import com.jic.interaction.JDVOP.model.entity.JsonOn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Classname ParticularsResponse
 * @Description TODO
 * @Date 2020/11/16 17:56
 * @Created by 22720
 * 3.6 地址详情转换京东地址编码
 */
@Data
@NoArgsConstructor
@ApiModel(description = " 响应参数 ")
public class ParticularsResponse {

    /**
     * true
     * false
     */
    @ApiModelProperty(notes = "状态码")
    private Boolean success;

    /**
     * 成功时是”操作成功”
     */
    @ApiModelProperty(notes = "异常信息提示")
    private String resultMessage;

    /**
     * 0000：正常
     * 3405：没查询到对应地址
     * 1003：参数值不正确
     * 5001：服务异常，请稍后重试
     */
    @ApiModelProperty(notes = "异常代码KEY")
    private String resultCode;

    /**
     *  示例 {
     *         "provinceId": 1,
     *         "county": "亦庄经济开发区",
     *         "cityId": 2810,
     *         "province": "北京市",
     *         "townId": null,
     *         "town": null,
     *         "countyId": 51081,
     *         "nation": "中国",
     *         "city": "大兴区",
     *         "nationId": "4744"
     *      }
     */
    @ApiModelProperty(notes = "返回二级地址数据")
    private JsonNo result;



}
